/*******************************************************************
 *
 * Copyright (C), 2021-2022, LS, All rights reserved.
 *
 * Author      : 
 * Create Time : 2021-09-22
 * Version     : v0.1
 * Description : 
 *******************************************************************/
#ifndef _APP_BUTTON_H_
#define _APP_BUTTON_H_

/*----------------------------Head file----------------------------*/
#include "error.h"
#include "types.h"
#include "stdint.h"
#include "stdbool.h"
#include "hal_button.h"

/*----------------------------macro file---------------------------*/

/*----------------------------type define--------------------------*/

/*----------------------------var define---------------------------*/

/*-------------------------func declaration------------------------*/
extern int app_button_init(void);
extern void app_button_timer_detect_timeout_handle(void);
extern void app_button_click_timeout_handle(void);

/*-----------------------------------------------------------------*/


#endif


